package com.xja.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.xja.entity.ArticleCheckMessage;
import com.xja.mapper.ArticleCheckMessageMapper;
import com.xja.service.ArticleCheckMessageService;
@Service
public class ArticleCheckMessageServiceImpl implements ArticleCheckMessageService{

    @Resource
    private ArticleCheckMessageMapper articleCheckMessageMapper;

    @Override
    public int deleteByPrimaryKey(Integer mid) {
        return articleCheckMessageMapper.deleteByPrimaryKey(mid);
    }

    @Override
    public int insert(ArticleCheckMessage record) {
        return articleCheckMessageMapper.insert(record);
    }

    @Override
    public int insertSelective(ArticleCheckMessage record) {
        return articleCheckMessageMapper.insertSelective(record);
    }

    @Override
    public ArticleCheckMessage selectByPrimaryKey(Integer mid) {
        return articleCheckMessageMapper.selectByPrimaryKey(mid);
    }

    @Override
    public int updateByPrimaryKeySelective(ArticleCheckMessage record) {
        return articleCheckMessageMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(ArticleCheckMessage record) {
        return articleCheckMessageMapper.updateByPrimaryKey(record);
    }

}
